package com.ysh.mybatis.pojo;


import java.util.Date;

public class TbUser {

  private Long uId;
  private String uName;
  private String pwd;
  private String email;
  private String gender;
  private Long flag;
  private Long role;
  private String code;
  private Date regdate;
  private Date updatetime;
  private Date currentlogintime;
  private Date lastlogintime;

  public Long getuId() {
    return uId;
  }

  public void setuId(Long uId) {
    this.uId = uId;
  }

  public String getuName() {
    return uName;
  }

  public void setuName(String uName) {
    this.uName = uName;
  }

  public String getPwd() {
    return pwd;
  }

  public void setPwd(String pwd) {
    this.pwd = pwd;
  }

  public String getEmail() {
    return email;
  }

  public void setEmail(String email) {
    this.email = email;
  }

  public String getGender() {
    return gender;
  }

  public void setGender(String gender) {
    this.gender = gender;
  }

  public Long getFlag() {
    return flag;
  }

  public void setFlag(Long flag) {
    this.flag = flag;
  }

  public Long getRole() {
    return role;
  }

  public void setRole(Long role) {
    this.role = role;
  }

  public String getCode() {
    return code;
  }

  public void setCode(String code) {
    this.code = code;
  }

  public Date getRegdate() {
    return regdate;
  }

  public void setRegdate(Date regdate) {
    this.regdate = regdate;
  }

  public Date getUpdatetime() {
    return updatetime;
  }

  public void setUpdatetime(Date updatetime) {
    this.updatetime = updatetime;
  }

  public Date getCurrentlogintime() {
    return currentlogintime;
  }

  public void setCurrentlogintime(Date currentlogintime) {
    this.currentlogintime = currentlogintime;
  }

  public Date getLastlogintime() {
    return lastlogintime;
  }

  public void setLastlogintime(Date lastlogintime) {
    this.lastlogintime = lastlogintime;
  }

  @Override
  public String toString() {
    return "TbUser{" +
            "uId=" + uId +
            ", uName='" + uName + '\'' +
            ", pwd='" + pwd + '\'' +
            ", email='" + email + '\'' +
            ", gender='" + gender + '\'' +
            ", flag=" + flag +
            ", role=" + role +
            ", code='" + code + '\'' +
            ", regdate=" + regdate +
            ", updatetime=" + updatetime +
            ", currentlogintime=" + currentlogintime +
            ", lastlogintime=" + lastlogintime +
            '}';
  }
}
